package com.hkts.naturalgasauthentication.management.entity;

import com.hkts.naturalgasauthentication.utils.SnowFlakeUtil;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassNameWebsiteParams
 * @Description
 * @Author yck
 * @Date2021-02-18 15:30
 * @Version V1.0
 **/
@Entity
@Table(name = "website_params")
@Data
public class WebsiteParams {
    @Id
    @Column(name = "id")
    private String id= String.valueOf(SnowFlakeUtil.getFlowIdInstance().nextId());;
    private String websiteId;
    private String paramName;
    private String paramValue;
}
